<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Spring Boot</title>
    </head>
    <link rel="stylesheet" href="/easyui/themes/default/easyui.css"/>
    <link rel="stylesheet" href="/easyui/themes/icon.css"/>
    <script type="text/javascript" src="/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript">
    	$(function(){
    		$('#myDialog').dialog({
    			width:500,
    			height:300,
    			title:"hello",
    			iconCls:"icon-save",
    			collapsibie:true,
    			maximizable:true,
    			minimizable:true,
    			resizable:true,
    			buttons:[{
    				text:'Save',   				
    			},{
    				text:'Close',
    			}],
    			toolbar:[{
    				text:'Edit',
    				iconCls:'icon-edit',    				
    			},{
    				text:'Help',
    				iconCls:'icon-help',
    			}]
    		});		
    	});
    </script>
    <body>
        ${hello}
       <!-- <div class="easyui-dialog" style="width:400px;height:200px"
		    data-options="
		        title:'My Dialog',
		        iconCls:'icon-ok',
		        onOpen:function(){}">
		    dialog content.
		</div> -->
		<div id="myDialog">
			<table class="easyui-datagrid" style="width:400px;height:250px"
			  	data-options="url:'datagrid_data.json',fitColumns:true,singleSelect:true">
			    <thead>
			        <tr>
			            <th data-options="field:'code',width:100">Code</th>
			            <th data-options="field:'name',width:100">Name</th>
			            <th data-options="field:'price',width:100,align:'right'">Price</th>
			        </tr>
			    </thead>
			        <tr>
			        	<td>1</td>
			        	<td>兵哥</td>
			        	<td>帅</td>
			        </tr>
			        <tr>
			        	<td>1</td>
			        	<td>兵哥</td>
			        	<td>帅</td>
			        </tr>
			        <tr>
			        	<td>1</td>
			        	<td>兵哥</td>
			        	<td>帅</td>
			        </tr>
			</table>
		</div>
    </body>
</html>